<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Inputstream Data Viewer</title>
    <link rel="stylesheet" href="../../lib/bootstrap/3.3.5/css/bootstrap.min.css"/>
    <!--
    <link rel="stylesheet" href="tasks-v2.css">
	-->
</head>
<body>
	<div class="container-fluid">
		<div class="row-fluid">
			<div class="span12">
				<h3 class="page-header text-center">
					V2V 丢包率测试报告
				</h3>
			</div>
		</div>
		<div class="row-fluid">
			<div class="span6">
				<form class="form-horizontal contract-form">
					<fieldset>
						<legend>表单项</legend> <label>表签名</label><input type="text" /> <span class="help-block">这里填写帮助信息.</span> <label class="checkbox"><input type="checkbox" /> 勾选同意</label>
					</fieldset>
					<fieldset>
						<legend>表单项</legend> <label>表签名</label><input type="text" /> <span class="help-block">这里填写帮助信息.</span> <label class="checkbox"><input type="checkbox" /> 勾选同意</label>
					</fieldset>
				
					<div class="form-group">
						<label class="col-sm-4 control-label">Id:</label>
						<div class="col-sm-6">
							<input id="wineId" name="id" type="text" value="<%= id %>"
								class="form-control contact-name-input" disabled />
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-4 control-label">Name:</label>
						<div class="col-sm-6">
							<input type="text" id="name" name="name" value="<%= name %>"
								class="form-control contact-name-input" required />
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-4 control-label">Grapes:</label>
						<div class="col-sm-6">
							<input type="text" id="grapes" name="grapes"
								class="form-control contact-name-input" value="<%= grapes %>" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-4 control-label">Country:</label>
						<div class="col-sm-6">
							<input type="text" id="country" name="country"
								class="form-control contact-name-input" value="<%= country %>" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-4 control-label">Region:</label>
						<div class="col-sm-6">
							<input type="text" id="region" name="region" class="form-control contact-name-input" value="<%= region %>" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-4 control-label">Year:</label>
						<div class="col-sm-6">
							<input type="text" id="year" name="year"
								class="form-control contact-name-input" value="<%= year %>" />
						</div>
					</div>
				
					<div class="form-group">
						<label class="col-sm-4 control-label">Notes:</label>
						<div class="col-sm-6">
							<textarea id="description" name="description"
								class="form-control contact-name-input"><%= description %></textarea>
						</div>
					</div>
					<div class="form-group">
						<div class="col-sm-offset-4 col-sm-3">
							<button type="submit" class="btn btn-outline btn-lg btn-block save">Submit</button>
						</div>
						<div class="col-sm-3">
							<button class="btn btn-outline btn-lg btn-block cancel">Cancel</button>
						</div>
					</div>
				</form>
			</div>
			<div class="span6">
			</div>
		</div>
		<div class="row-fluid">
			<div class="span4">
			</div>
			<div class="span4">
			</div>
			<div class="span4">
				 <button class="btn btn-block" type="button">   搜   索   </button>
			</div>
		</div>
		<hr/>
		<!--
		<div class="row-fluid">
			<div class="span12">
				<p>
					<em>Git</em>是一个分布式的版本控制系统，最初由<strong>Linus Torvalds</strong>编写，用作Linux内核代码的管理。在推出后，Git在其它项目中也取得了很大成功，尤其是在Ruby社区中。
				</p>
				<div class="row-fluid">
					<div class="span6">
						<img alt="140x140" src="img/a.jpg" />
					</div>
					<div class="span6">
						<img alt="140x140" src="img/a.jpg" />
					</div>
				</div>
				<table class="table">
					<thead>
						<tr>
							<th>
								编号
							</th>
							<th>
								产品
							</th>
							<th>
								交付时间
							</th>
							<th>
								状态
							</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>
								1
							</td>
							<td>
								TB - Monthly
							</td>
							<td>
								01/04/2012
							</td>
							<td>
								Default
							</td>
						</tr>
						<tr class="success">
							<td>
								1
							</td>
							<td>
								TB - Monthly
							</td>
							<td>
								01/04/2012
							</td>
							<td>
								Approved
							</td>
						</tr>
						<tr class="error">
							<td>
								2
							</td>
							<td>
								TB - Monthly
							</td>
							<td>
								02/04/2012
							</td>
							<td>
								Declined
							</td>
						</tr>
						<tr class="warning">
							<td>
								3
							</td>
							<td>
								TB - Monthly
							</td>
							<td>
								03/04/2012
							</td>
							<td>
								Pending
							</td>
						</tr>
						<tr class="info">
							<td>
								4
							</td>
							<td>
								TB - Monthly
							</td>
							<td>
								04/04/2012
							</td>
							<td>
								Call in to confirm
							</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
		-->
	</div>

	<!--
	<div id="app" class="" style="padding:20px">
		<div class=""><h2>输入流数据浏览 <small>Inputstream Data Viewer</small></h2></div>
		<hr />
		<div id="searchDiv" class="" style="background-color:#FFFACD">
		<fieldset>
			<p>请输入查询条件</p>
			<form id="inputQuery">
			Begin Time <input type="text" name="begintime" v-model="begintime">
			End Time <input type="text" name="endtime" v-model="endtime">
			Remote Device Id <input type="text" name="remotedevice" v-model="remotedevice">
			Search <input name="query" v-model="searchQuery">
			</form>
			<div class="" >
				<button class="btn btn-primary" style="float:right" v-on="click:search">....    查 ... 询    ....</button>
				<br />
			</div>
		</fieldset>
		</div>
		<hr />
		<div>
			<button class="btn btn-default " v-on="click:removeSelected($event)">删除选中记录</button>
		</div>
		<div class="table-responsive">
			<table class="table table-bordered table-condensed table-striped">
			<thead>
				<tr class="info"> 
				<th>选择</th> 
				<th>时刻</th> 
				<th>设备标识</th> 
				<th>数据</th> 
				</tr> 
				<tr> 
				<th>#</th> 
				<th>Timestamp</th> 
				<th>Device Node</th> 
				<th>Payload</th> 
				</tr> 
			</thead>
			<tfoot>Table footer</tfoot>			
			<tbody>
				<tr v-repeat="item:items" track-by="rowid">
				<td><input type="checkbox" v-model="item.selected"> {{item.selected ? "yes" : "no"}}</td> 
				<td>{{item.timestamp}}</td> 
				<td>{{item.node}}</td> 
				<td>{{item.frame}}</td> 
				</tr> 
			</tbody>
			</table>
		</div>
	
		<div>
		注：输入流数据来自实际测试过程中记录的数据文件。本模块仅用于查看数据的内容以辅助判断数据的正确性。
		</div>
		
		<hr />
		<div>
		for Debug only: 
		<pre>
			<div>{{ $data | json }}</div>
		</pre>	
		</div>
	</div>
	-->

    <script src="../../lib/jquery/2.1.4/jquery-2.1.4.min.js"></script>
    <script src="../../lib/bootstrap/3.3.5/js/bootstrap.min.js"></script>
	<!--
    <script src="../../lib/vue/0.12.10/vue.js"></script>
    <script src="report-template-v1.js"></script>
	-->
</body>
</html>